import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import './static/css/common.css'

import appNav from "./components/nav/index" //小程序顶部标题
import uParse from '@/components/gaoyia-parse/parse.vue' //富文本
import empty from '@/components/empty/empty' //空数据占位
import empty2 from '@/components/empty/empty2' //空数据占位
import previewImg from '@/components/previewImg/index' //图片预览
import avatar from '@/components/avatar/index' //头像框组件
import dragView from '@/components/dragView' //页面悬浮框
import slider from '@/components/slider/index' //音频播放进度条
import wkf from '@/components/wkf/index' //身份未开放提示框
import satisfaction from '@/components/satisfaction/index' //满意度进度条




Vue.component('appNav', appNav)
Vue.component('uParse', uParse)
Vue.component('empty', empty)
Vue.component('empty2', empty2)
Vue.component('previewImg', previewImg)
Vue.component('avatar', avatar)
Vue.component('dragView', dragView)
Vue.component('slider', slider)
Vue.component('wkf', wkf)
Vue.component('satisfaction', satisfaction)


Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue({
	...App
})



app.$mount()
// #endif



// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif